﻿//创建时间: 2010-12-29
//创建作者: 李 城
//功能说明: cms外部页面访问基类  跳转至cms管理后台
//最后修改: 2010-12-29
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using TRPOP.CMS.Business;
using TRPOP.CMS.Model;
using System.Web;

using TRPOP.Config;
using TRPOP.Common;

namespace TRPOP.CMS.Web.ExtraBus
{
    public class Page_Load_CMSManage : BasePage
    {
        protected override void OnInit(EventArgs e)
        {
            string strRedirect = SystemInfoHelper.getSystemInfo().AdminFolderName;
            while (!strRedirect.IsEmpty() && strRedirect.StartsWith("/"))
            {
                strRedirect = strRedirect.Substring(1);
            }
            if (strRedirect.IsEmpty() == false)
                Response.Redirect(strRedirect + "/Default.aspx");
        }
    }
}
